<?php
return [
    'index' => [
        'name' => '首页',
        'icon' => 'iconshouye',
        'index' => 'index/index',
    ],
    'wxapp' => [
        'name' => 'App管理',
        'icon' => 'iconweixinxiaochengxu',
        'color' => '#36b313',
        'index' => 'wxapp/index',
        'submenu' => [
			[
                'name' => '小程序申请',
                'index' => 'wxapp.apply/index',
				'uris' => [
                    'wxapp.apply/index',
                    'wxapp.apply/detail'
                ],
            ],
            [
                'name' => '小程序列表',
                'index' => 'wxapp/index',
                'uris' => [
                    'wxapp/index',
                    'wxapp/appLogin',
					'wxapp/delete'
                ],
            ],
			[
                'name' => '小程序版本',
                'index' => 'wxapp.edition/index',
                'uris' => [
                    'wxapp.edition/index',
					'wxapp.edition/add',
                    'wxapp.edition/edit',
					'wxapp.edition/delete'
                ],
            ],
			[
                'name' => '模板管理',
                'active' => true,
                'submenu' => [
                    [
                        'name' => '最新草稿',
                        'index' => 'wxapp.template/draft',
						'uris' => [
							'wxapp.template/draft',
							'wxapp.template/addTemplate'
						],
                    ],
                    [
                        'name' => '模板库',
                        'index' => 'wxapp.template/template',
						'uris' => [
							'wxapp.template/template',
							'wxapp.template/deleteTemplate'
						],
                    ],
					[
                        'name' => '模板推送',
                        'index' => 'wxapp.template/index',
						'uris' => [
							'wxapp.template/index',
							'wxapp.template/add',
							'wxapp.template/edit',
							'wxapp.template/delete'
						],
                    ],
                ]
            ],
        ],
    ],
    'wechat' => [
        'name' => '公众号',
        'icon' => 'iconweixingongzhonghao',
		'color' => '#36b313',
        'index' => 'wechat/index',
        'submenu' => [
			[
                'name' => '基础信息',
                'index' => 'wechat/index',
				'urls' => [
					'wechat/index',
				] 
            ],
			[
                'name' => '菜单设置',
                'index' => 'wechat/menus',
				'urls' => [
					'wechat/menu',
				] 
            ],
			[
				'name' => '模板消息',
				'index' => 'wechat.tplmsg/setting',
				'uris' => [
					'wechat.tplmsg/setting'
				],
			],
			[
                'name' => '智能回复',
                'active' => true,
                'submenu' => [
					[
						'name' => '被关注回复',
						'index' => 'wechat/subscribe',
							'urls' => [
								'wechat/subscribe',
							]
					],
					[
						'name' => '关键字回复',
						'index' => 'wechat.keyword/index',
						'uris' => [
							'wechat.keyword/index',
							'wechat.keyword/add',
							'wechat.keyword/edit',
							'wechat.keyword/delete',
						],
					],
					[
						'name' => '无效回复',
						'index' => 'wechat/invalid',
						'uris' => [
							'wechat/invalid',
						],
					],
                ]
            ],
			/*
			[
                'name' => '素材管理',
                'active' => false,
				'submenu' => [
					[
						'name' => '图文素材',
						'index' => 'wechat.material.text/index',
						'urls' => [
							'wechat.material.text/index',
							'wechat.material.text/add',
							'wechat.material.text/edit',
							'wechat.material.text/delete'
						]
					],
					[
						'name' => '图片素材',
						'index' => 'wechat.material.image/index',
						'urls' => [
							'wechat.material.image/index',
							'wechat.material.image/add',
							'wechat.material.image/edit',
							'wechat.material.image/delete'
						]
					],	
					[
						'name' => '语音素材',
						'index' => 'wechat.material.voice/index',
						'urls' => [
							'wechat.material.voice/index',
							'wechat.material.voice/add',
							'wechat.material.voice/edit',
							'wechat.material.voice/delete'
						]
					],
					[
						'name' => '视频素材',
						'index' => 'wechat.material.video/index',
						'urls' => [
							'wechat.material.video/index',
							'wechat.material.video/add',
							'wechat.material.video/edit',
							'wechat.material.video/delete'
						]
					],
				]
            ],
			*/
        ],
    ],
	'store' => [
        'name' => '商家管理',
        'icon' => 'iconyonghuguanli',
        'index' => 'store/index',
        'submenu' => [
			[
                'name' => '商户列表',
                'index' => 'store/index',
                'uris' => [
                    'store/index',
                ],
            ],
		]
    ],
	/*
	 'agent' => [
        'name' => '代理管理',
        'icon' => 'icon-menu',
        'index' => '#',
        'submenu' => [],
    ],*/
    'order' => [
        'name' => '账务流水',
        'icon' => 'icondingdanguanli',
        'index' => 'order/index',
        'submenu' => [
			[
                'name' => '全部流水',
                'index' => 'order/index',
                'uris' => [
                    'order/index',
					'order/delete',
                ],
            ],
		]
    ],
	/*
	'payment' => [
        'name' => '账务管理',
        'icon' => 'icon-marketing',
        'index' => '#',
        'submenu' => [],
    ],
	*/
	'equipment' => [
        'name' => '打印设备',
        'icon' => 'icondayinji',
        'index' => 'equipment/index',
		'submenu' => [
            [
                'name' => '设备授权',
                'index' => 'equipment/index',
				'urls' => [
                    'equipment/index',
                    'equipment/add',
                    'equipment/edit',
                    'equipment/delete'
                ]
            ],
			[
                'name' => '云端配置',
                'index' => 'equipment/setting',
				'urls' => [
                    'equipment/setting',
                ]
            ],
           
		]
    ],	
    'setting' => [
        'name' => '设置',
        'icon' => 'iconshezhi',
        'index' => 'setting/web',
        'submenu' => [
			[
                'name' => '站点设置',
                'index' => 'setting/web',
				'urls' => [
					'setting/web'
				]
            ],
			[
                'name' => '注册设置',
                'index' => 'setting/register',
				'urls' => [
					'setting/register'
				]
            ],
			[
                'name' => '平台设置',
                'index' => 'setting/open',
				'urls' => [
					'setting/open'
				]
            ],
			[
                'name' => '配送设置',
                'index' => 'setting/delivery',
				'urls' => [
					'setting/delivery'
				]
            ],
			[
                'name' => '收款设置',
                'index' => 'setting/pay',
				'urls' => [
					'setting/pay'
				]
            ],
			[
                'name' => '商家助手',
                'index' => 'setting/wxapp',
				'urls' => [
					'setting/wxapp'
				]
            ],
			[
                'name' => '前端菜单',
                'index' => 'setting.menu/index',
				'urls' => [
					'setting.menu/index',
					'setting.menu/add',
					'setting.menu/edit',
					'setting.menu/delete'
				]
            ],
			[
                'name' => '友情链接',
                'index' => 'setting.links/index',
				'urls' => [
					'setting.links/index',
					'setting.links/add',
					'setting.links/edit',
					'setting.links/delete'
				]
            ],
			/*
            [
                'name' => '角色类目',
                'active' => false,
                'submenu' => [
                    [
                        'name' => '超级管理端',
                        'index' => 'setting.rules.admin/index',
						'urls' => [
							'setting.rules.admin/index',
							'setting.rules.admin/add',
							'setting.rules.admin/edit',
							'setting.rules.admin/delete'
						]
                    ]
                ]
            ],
			*/
            [
                'name' => '其他',
                'active' => false,
                'submenu' => [
                    [
                        'name' => '清理缓存',
                        'index' => 'setting.cache/clear'
                    ]
                ]
            ],
        ],
    ],
];
